<%@ page import="com.dao.UserDao" %>
<%@ page import="java.util.List" %>
<%--
  Created by IntelliJ IDEA.
  User: 24497
  Date: 2020/7/30 0030
  Time: 22:28
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" %>
<html>
<head>
    <title>显示书籍页面</title>
</head>
<body>
<%
    UserDao userDao = new UserDao();
    List<String> list = userDao.showBook();
    //    PrintWriter out =response.getWriter();

    for (String message : list) {
       out.write(message+"<br>");

    }
%>


<a href="${pageContext.request.contextPath}/returnBook.jsp">还书</a><br>
<a href="${pageContext.request.contextPath}/borrowBook.jsp">借书</a><br>
<a href="${pageContext.request.contextPath}/loginOut.jsp">注销</a>

</body>
</html>
